/**
 * 
 */
package dstation.databeans;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * @author Evan
 *
 */
public class ExceptionBean extends Exception implements IsSerializable{

	private String message;

	public ExceptionBean() {
		super();
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = -1592049369824984121L;

	public void setMessage(String s){
		message = s;
	}
	
	public String message(){
		return message;
	}

	/* (non-Javadoc)
	 * @see java.lang.Throwable#toString()
	 */
	@Override
	public String toString() {
		return message;
	}
}
